package com.back.dto;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 企业认证DTO
 */
@Data
public class CompanyVerificationDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 营业执照URL
     */
    @NotBlank(message = "营业执照不能为空")
    private String businessLicense;

    /**
     * 联系人姓名
     */
    @NotBlank(message = "联系人姓名不能为空")
    private String contactName;

    /**
     * 联系人电话
     */
    @NotBlank(message = "联系人电话不能为空")
    private String contactPhone;

    /**
     * 联系人邮箱
     */
    @Email(message = "邮箱格式不正确")
    private String contactEmail;
} 